package com.mao.factory.absttact.huasuo;

import com.mao.factory.absttact.AbstractFactory;
import com.mao.factory.absttact.Cpu;
import com.mao.factory.absttact.MainBoard;
import com.mao.factory.absttact.Power;
import com.mao.factory.absttact.huawei.HuaweiCpu;
import com.mao.factory.absttact.huawei.HuaweiMainBoard;
import com.mao.factory.absttact.huawei.HuaweiPower;

public class HuasuoFactory implements AbstractFactory {
    @Override
    public Cpu chooseCpu() {
        return new HuasuoCpu();
    }

    @Override
    public Power choosePower() {
        return new HuasuoPower();
    }

    @Override
    public MainBoard chooseMainboard() {
        return new HuasuoMainboard();
    }
}
